﻿<?php
require_once("user.php");
session_start();
$user = new userManager();
$user->checkLogin();
$_SESSION['logueado']=$user;
if($user->isLoggedIn())
	header("Location: ../index.php?mc=admin");
else
	header("Location: ../index.php?mc=inicio");
?>